<?php
// Xajax
require_once './_classes/xajax/xajax_core/xajax.inc.php';
$xajax = new xajax();
// Smarty
require_once './_classes/smarty/libs/Smarty.class.php';
class Smarty_McT extends Smarty {
   function smarty_admin(){
        $this->template_dir = './_adm/_adm_mct_temp/';
        $this->compile_dir  = './_temp/templates_c/';
        $this->cache_dir    = './_temp/cache/';
        $this->config_dir   = './_temp/configs/';
        //$this->caching = Smarty::CACHING_LIFETIME_CURRENT;
        $this->caching = false;
        $this->assign('app_name', 'MCT DESIGN');
   }
   function smarty_site(){
        $this->template_dir = temp_default()."/";
        $this->compile_dir  = './_temp/templates_c/';
        $this->cache_dir    = './_temp/cache/';
        $this->config_dir   = './_temp/configs/';
        $this->caching = false;
        $this->assign('app_name', 'MCT DESIGN');
   }
}
?>